package com.sz.admin.ai.modelTool;

import org.springframework.stereotype.Component;

/**
 * @描述:
 * @Author: TangYuan
 * @Date: 2025/3/6 14:17
 */
@Component
public class SystemTool{
    
    // @Tool(description = "获取当前日期")
    // public String getDate() {
    //     LocalDate currentDate = LocalDate.now();
    //     DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MM月dd日");
    //     System.out.println("获取 --- 当前日期：" + currentDate.format(formatter));
    //     return currentDate.format(formatter);
    // }
    //
    // @Tool(description = "获取当前时间")
    // public String getTime() {
    //     LocalDateTime currentDateTime = LocalDateTime.now();
    //     DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss");
    //     System.out.println("获取 --- 当前时间：" + currentDateTime.format(formatter));
    //     return currentDateTime.format(formatter);
    // }
}